#ifndef __CMT_SPI3_H_
#define __CMT_SPI3_H_

#include "ACM32Fxx_HAL.h"   
#include "app.h"

void cmt_spi3_delay(void);
void cmt_spi3_delay_us(void);
void cmt_spi3_init(void);
void cmt_spi3_send(u8 data8);
u8 cmt_spi3_recv(void);
void cmt_spi3_write(u8 addr, u8 dat);
void cmt_spi3_read(u8 addr, u8* p_dat);
void cmt_spi3_write_fifo(const u8* p_buf, u16 len);
void cmt_spi3_read_fifo(u8* p_buf, u16 len);




#endif


